<!DOCTYPE html>
<html	xmlns="http://www.w3c.org/1999/xhtml"
		xmlns:h="http://xmlns.jcp.org/jsf/html"
		xmlns:f="http://java.sun.com/jsf/core"
		xmlns:ui="http://java.sun.com/jsf/facelets"
		xmlns:fn="http://java.sun.com/jsp/jstl/functions"
		xmlns:p="http://primefaces.org/ui">
<h:head>
<style type="text/css">
	.ui-panelgrid td, .ui-panelgrid tr {
    	border-style: none !important
	}
</style>
</h:head>
<h:body>
	<h:outputScript library="primefaces" name="jquery/jquery.js"/>
	
	<p:ajaxStatus onstart="PF('status').show()" oncomplete="PF('status').hide()"/>
	<p:dialog widgetVar="status" modal="true" closable="false" resizable="false">
	      <p:graphicImage url="img/ajaxloadingbar.gif"/>
	</p:dialog>

	<h:form id="myForm">
		<p:commandButton value="Do Something" actionListener="#{testBean.doSomething}" />
	</h:form>
</h:body>
</html>
